package cloud.ben.smallscalepigfarmmanagementsystem.service.pig;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigDiseaseRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigFatteningHouseDeathRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/8 15:22
 */
public interface IPigDiseaseRecordsService {

    /**
     * 增加生猪疾病记录信息
     * @param pigDiseaseRecords
     * @return RespBean
     */
    RespBean insertPigDiseaseRecords(PigDiseaseRecords pigDiseaseRecords);

    /**
     *根据id删除生猪疾病记录信息
     * @param id
     * @return RespBean
     */
    RespBean deletePigDiseaseRecords(Integer id);

    /**
     * 修改生猪疾病记录信息
     * @param pigDiseaseRecords
     * @return RespBean
     */
    RespBean updatePigDiseaseRecords(PigDiseaseRecords pigDiseaseRecords);


    /**
     * 分页查询生猪疾病记录信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectPigDiseaseRecordsByPage(Integer pageNumber,Integer pageSize);

    /**
     *查询猪疾病记录数量（方便分页）
     * @return RespBean
     */
    RespBean selectPigDiseaseRecordsNum();


}
